<template>
  <div class="execution">
    <basic-container>
      <avue-crud
        :permission="permissionList"
        v-bind="bindVal"
        v-on="onEvent"
        :page.sync="page"
      >
      </avue-crud>
    </basic-container>
  </div>
</template>

<script>
  import {fetchList, getObj, addObj, putObj, delObj} from '@/api/subwaystm/swstpackagetailboxmanage'
  import {tableOption} from '@/const/crud/subwaystm/swstpackagetailboxmanage'
  import {mapGetters} from 'vuex'
  import baseCrud from '@/mixins/base-crud'

  export default {
    name: 'swstpackagetailboxmanage',
    mixins: [baseCrud('subwaystm/swstpackagetailboxmanage')],
    data() {
      return {
      }
    },
    computed: {
      ...mapGetters(['permissions']),
      permissionList() {
        return {
          addBtn: this.vaildData(this.permissions.stm_sw_st_package_tailbox_manage_add, false),
          delBtn: this.vaildData(this.permissions.stm_sw_st_package_tailbox_manage_del, false),
          editBtn: this.vaildData(this.permissions.stm_sw_st_package_tailbox_manage_edit, false)
        };
      }
    },
    methods: {
    }
  }
</script>
